package cn.tedu.egmybatis6.mapper;

import cn.tedu.egmybatis6.pojo.entity.Customers;
import cn.tedu.egmybatis6.pojo.vo.CustomersVO1;
import cn.tedu.egmybatis6.pojo.vo.CustomersVO2;
import cn.tedu.egmybatis6.pojo.vo.OrderListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomersMapper {
    void insertCustomers(Customers customers);

    int deleteCustomer(String custId);

    List<OrderListVO> resultMap1(String custId);

    CustomersVO1 resultMap2(String custId);

    List<CustomersVO2> resultMap3(String address);
}
